/*---------------------------------------
    12. Forum CSS
-----------------------------------------*/


/*-- Single Forum CSS --*/
.forum-area{
   //Responsive
    @media #{$laptop-device}{
        margin-bottom: -5px;
    } 
    @media #{$tablet-device}{
        margin-bottom: -5px;
    } 
    @media #{$large-mobile}{
        margin-bottom: -5px;
    } 
}
.single-forum{
    position: relative;
    padding: 30px 40px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    //Responsive
    @media #{$large-mobile}{
        padding: 30px 20px;
    }
    & h3{
        font-size: 24px;
        line-height: 28px;
        //Responsive
        @media #{$large-mobile}{
            font-size: 16px;
            line-height: 24px;
        }
    }
    & .forum-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        //Responsive
        @media #{$large-mobile}{
            flex-wrap: wrap;
        }
        & ul{
            display: flex;
            align-items: center;
            //Responsive
            @media #{$large-mobile}{
                flex-wrap: wrap;
            }
            & li{
                font-size: 16px;
                line-height: 28px;
                font-family: $heading-font;
                color: #7f7f7f;
                position: relative;
                //Responsive
                @media #{$large-mobile}{
                    font-size: 14px;
                    line-height: 24px;
                }
                &:first-child{
                    margin-right: 35px;
                    //Responsive
                    @media #{$large-mobile}{
                        margin-right: 0;
                    }
                    &::after{
                        display: none;
                    }
                }
                &::after{
                    content: "-";
                    margin: 0 12px;
                }
                &:last-child{
                    &::after{
                        display: none;
                    }
                }
                & a{
                    & img{
                        margin-right: 10px;
                        border: 3px solid $white;
                        border-radius: 100%;
                        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
                    }
                }
            }
        }
        & span.view{
            font-size: 16px;
            line-height: 28px;
            font-family: $heading-font;
            color: #7f7f7f;
             //Responsive
            @media #{$large-mobile}{
                font-size: 14px;
                line-height: 24px;
            }
        }
    }
    & span.sticker{
        position: absolute;
        top: 0;
        right: 0;
        width: 70px;
        height: 30px;
        background-color: $theme-color;
        font-size: 14px;
        line-height: 30px;
        font-family: $heading-font;
        color: $white;
        text-align: center;
    }
}

/*-- Forum Create CSS --*/
.single-input{
    & label{
        display: block;
        font-size: 24px;
        line-height: 28px;
        font-family: $heading-font;
        margin-bottom: 15px;
    }
    & input{
        width: 100%;
        height: 50px;
        border: 1px solid #e1e1e1;
        color: #999999;
        font-size: 16px;
        line-height: 20px;
        padding: 0 25px;
        border-radius: 5px;
    }
}
.file-input{
    & label{
        width: 135px;
        height: 40px;
        border: 1px solid #e1e1e1;
        color: #666666;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 400;
        line-height: 40px;
        text-align: center;
        cursor: pointer;
        & i{
            margin-right: 10px;
        }
    }
    & button.save-btn{
        @extend label;
        background-color: transparent;
        margin-left: 30px;
        //Responsive
        @media #{$large-mobile}{
            margin-left: 0;
            margin-top: 10px;
        }
    }
}
.forum-post{
    & input{
        width: auto;
        height: auto;
    }
    & label{
        font-size: 20px;
        line-height: 28px;
        font-family: $heading-font;
        margin-bottom: 0;
    }
    & button.df-btn{
        border: 0;
        font-family: $body-font;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: $white;
        border-radius: 50px;
        text-transform: capitalize;
        padding: 12px 20px;
        margin-left: 50px;
        //Responsive
        @media #{$large-mobile}{
            margin-left: 20px;
        }
        @media #{$extra-small-mobile}{
            margin-left: 0px;
            margin-top: 10px;
        }
    }
}

/*-- Forum Post CSS --*/
.forum-post-area{
    //Responsive
    @media #{$laptop-device}{
        margin-bottom: -10px;
    }
    @media #{$desktop-device}{
        margin-bottom: -5px;
    }
    @media #{$tablet-device}{
        margin-bottom: -10px;
    }
}
.forum-post{
    padding: 0;
    box-shadow: none;
    & h3{
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 15px;
        //Responsive
        @media #{$desktop-device}{
            font-size: 32px;
            line-height: 38px;
        }
        @media #{$tablet-device}{
            font-size: 28px;
            line-height: 36px;
        }
        @media #{$large-mobile}{
            font-size: 22px;
            line-height: 34px;
            margin-bottom: 5px;
        }
    }
    & .forum-meta{
        margin-bottom: 30px;
        & li{
            //Responsive
            @media #{$large-mobile}{
                margin-left: 5px;
            }
        }
    }
    & .forum-image{
        margin-bottom: 40px;
    }
}
/*-- Forum Replay CSS --*/
.forum-reply-wrap{
    & h3{
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 50px;
        //Responsive
        @media #{$laptop-device}{
            margin-bottom: 40px;
        }
        @media #{$desktop-device}{
            margin-bottom: 30px;
        }
        @media #{$tablet-device}{
            margin-bottom: 30px;
        }
        @media #{$large-mobile}{
            margin-bottom: 20px;
        }
    }
    & .forum-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        //Responsive
        @media #{$large-mobile}{
            flex-wrap: wrap;
        }
        & ul{
            display: flex;
            align-items: center;
            //Responsive
            @media #{$large-mobile}{
                flex-wrap: wrap;
            }
            & li{
                font-size: 16px;
                line-height: 28px;
                font-family: $heading-font;
                color: #7f7f7f;
                position: relative;
                //Responsive
                @media #{$large-mobile}{
                    font-size: 14px;
                    line-height: 24px;
                    margin-left: 5px;
                }
                &:first-child{
                    margin-right: 35px;
                    //Responsive
                    @media #{$large-mobile}{
                        margin-right: 0;
                        margin-left: 0;
                    }
                    &::after{
                        display: none;
                    }
                }
                &::after{
                    content: "-";
                    margin: 0 12px;
                }
                &:last-child{
                    &::after{
                        display: none;
                    }
                }
                & a{
                    & img{
                        margin-right: 10px;
                        border: 3px solid $white;
                        border-radius: 100%;
                        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
                    }
                }
            }
        }
        & span.view{
            font-size: 16px;
            line-height: 28px;
            font-family: $heading-font;
            color: #7f7f7f;
             //Responsive
            @media #{$large-mobile}{
                font-size: 14px;
                line-height: 24px;
            }
        }
    }
    & p{
        font-size: 16px;
        line-height: 24px;
        max-width: 1055px;
    }
    & .viewer-action{
        & ul{
            display: flex;
            & li{
                margin-right: 20px;
                &:last-child{
                    margin-right: 0;
                }
                &:nth-child(1){
                    & a{
                        font-family: $body-font;
                        font-weight: 500;
                        font-size: 16px;
                    }
                }
                &:nth-child(2){
                    & a{
                        font-family: $body-font;
                        font-weight: 500;
                        font-size: 16px;
                    }
                }
                & a{
                    display: block;
                    font-size: 14px;
                    line-height: 24px;
                    font-family: $heading-font;
                    & i{
                        margin-right: 5px;
                    }
                }
            }
        }
    }
    & .reply-btn{
        & a{
            display: block;
            font-size: 14px;
            line-height: 18px;
            color: #7c7c7c;
            font-family: $heading-font;
            &:hover{
                color: $theme-color;
            }
            & i{
                font-size: 20px;
                vertical-align: middle;
            }
        }
    }
}